'use strict'

const fs = require("node:fs");

const file_path = process.argv[2];


// const  buf = fs.readFileSync(file_path,'utf-8');
// console.log(buf.toString().split("\n").length - 1)

fs.readFileSync(file_path, (err, data) => {
    if (err) throw err;
    console.log(data.toString().split("\n").length - 1)
});
